-- GENERATED SPELL FOR [Nova] --


function spell0_20244(pUnit, Event) --@Summon Kitty,Self--
pUnit:FullCastSpellOnTarget(35052,pUnit)
pUnit:RegisterEvent('Sorts_20244', 645, 1)
end

function Sorts_20244(pUnit, Event)
local choix_sorts_20244 = math.random(0, 0)
if choix_sorts_20244 == 0 then
pUnit:RegisterEvent('spell0_20244', 1, 1)
end
end

function mob20244_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20244', math.random(1500, 3000), 1)
end

function mob20244_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20244_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20244_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20244, 1, 'mob20244_Action')
RegisterUnitEvent(20244, 2, 'mob20244_Leave')
RegisterUnitEvent(20244, 3, 'mob20244_Kill')
RegisterUnitEvent(20244, 4, 'mob20244_Die')
